KN Y
UR R
E
Ryan Transfiguracion
July 23, 2018
| TeamRole | BlueTeam | RedTeam |
|---|---|---|
| TOP | 1 | 6 |
| JUNGLE | 2 | 7 |
| MID | 3 | 8 |
| BOTCARRY | 4 | 9 |
| SUPPORT | 5 | 10 |
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| DUO, BOTTOM | 77 | 0 | 57 | 77 | 0 |
| DUO, MIDDLE | 0 | 55 | 0 | 0 | 55 |
| DUO_CARRY, BOTTOM | 111 | 0 | 0 | 0 | 0 |
| DUO_CARRY, MIDDLE | 0 | 0 | 4 | 0 | 0 |
| DUO_SUPPORT, BOTTOM | 0 | 0 | 0 | 111 | 0 |
| DUO_SUPPORT, MIDDLE | 0 | 4 | 0 | 0 | 0 |
| NONE, JUNGLE | 9 | 173 | 58 | 8 | 57 |
| SOLO, BOTTOM | 5 | 0 | 0 | 38 | 0 |
| SOLO, MIDDLE | 0 | 2 | 115 | 0 | 0 |
| SOLO, TOP | 32 | 0 | 0 | 0 | 122 |
| Region.ID | Game.ID | Hash.ID | Blue.Team | Red.Team |
|---|---|---|---|---|
| TRLH1 | 1002440062 | a3b08c115923f00d | Team Liquid | Team Solo Mid |
| TRLH1 | 1002440076 | c426d3d50426edb3 | 100 Thieves | OpTic Gaming |
| TRLH1 | 1002440084 | f0f86e52b6e472e9 | Clutch Gaming | Golden Guardians |
| TRLH1 | 1002440095 | fd3b9331ff5312e3 | Echo Fox | FlyQuest |
| TRLH1 | 1002440106 | d6441d4ec8f87534 | Counter Logic Gaming | Cloud9 |
| TRLH1 | 1002440127 | 361bcc2e848641d2 | OpTic Gaming | Team Liquid |
participants and participantIdentities) that contain indvidual player statsparticipantIdentities contains 10 players’ usernames under sub-object playerparticipants contains two more sub-objects (stats and timeline)participants is flattened out, then joined with player| summonerName | kills | deaths | assists | totalDamageTaken | |
|---|---|---|---|---|---|
| 117 | SUP Stomaged | 2 | 0 | 15 | 14868 |
| 56 | GMB PVPStejos | 2 | 0 | 8 | 24095 |
| 339 | TL Doublelift | 3 | 1 | 0 | 11025 |
| 202 | PGM Once | 1 | 8 | 5 | 24840 |
| 370 | KZ GorillA | 0 | 2 | 9 | 12770 |
| 527 | FW Moojin | 1 | 3 | 2 | 19140 |
| 129 | GMB Lodik | 3 | 2 | 2 | 17616 |
| 52 | R7 Oddie | 1 | 5 | 4 | 37233 |
| 489 | KZ PraY | 4 | 1 | 5 | 11208 |
| 276 | EVS Stark | 1 | 2 | 15 | 11699 |
| 185 | PGM Gaeng | 3 | 1 | 5 | 10871 |
| 475 | FW SwordArt | 1 | 3 | 10 | 7100 |
| summonerName | kills | deaths | assists | totalDamageTaken | |
|---|---|---|---|---|---|
| 1 | ASC G4 | 1.5000000 | 3.333333 | 7.333333 | 25176.83 |
| 42 | KLG Fix | 4.3333333 | 2.166667 | 3.666667 | 10049.00 |
| 29 | FNC Hylissang | 0.3571429 | 3.500000 | 6.714286 | 16827.29 |
| 36 | GMB PVPStejos | 1.5555556 | 2.222222 | 5.333333 | 29927.33 |
| 18 | EVS Stark | 2.0000000 | 2.142857 | 4.571429 | 19437.71 |
| 25 | FW SwordArt | 0.6111111 | 1.500000 | 7.888889 | 10981.83 |
| 16 | EVS RonOP | 0.5714286 | 4.214286 | 5.071429 | 17344.43 |
| 63 | RNG Karsa | 1.5714286 | 1.571429 | 8.714286 | 22081.57 |
| 62 | R7 Whitelotus | 3.3333333 | 2.500000 | 5.333333 | 15114.83 |
| 60 | R7 Oddie | 1.6666667 | 3.166667 | 6.833333 | 37863.50 |
| 19 | EVS Warzone | 3.0714286 | 2.642857 | 3.214286 | 13805.29 |
| 28 | FNC Caps | 4.0714286 | 3.571429 | 4.428571 | 20544.79 |
| variableName | description |
|---|---|
| kills | The number of enemy champions killed. |
| assists | The number of enemy champions assisted in killing. |
| magicDamageDealt | The amount of magic damage dealt. |
| physicalDamageDealt | The amount of physical damage dealt. |
| magicDamageDealtToChampions | The amount of magic damage dealt to enemy champions only. |
| physicalDamageDealtToChampions | The amount of physical damage dealt to enemy champions only. |
| totalHeal | The amount of health points the player has regained. |
| variableName | description |
|---|---|
| totalUnitsHealed | The number of entities a player healed. |
| damageSelfMitigated | The amount of health points that were not lost from damage. |
| totalDamageTaken | The amount of damage a player took from various sources. |
| neutralMinionsKilled | The number of neutral monsters killed by a player. |
| timeCCingOthers | The weighted sum of all CC applied |
| totalTimeCrowdControlDealt | The sum of all CC applied |
| champLevel | The (experience) level of a player at the end of a match. |
| variableName | description |
|---|---|
| visionWardsBoughtInGame | The number of wards (i.e. surveillance items) a player purchased. |
| wardsPlaced | The number of wards a player placed in the arena. |
| wardsKilled | The number of enemy wards a player destroyed. |
| physDmgToChampsToDmgTakenRatio | Physical damage dealt to champions / Total damage taken |
| totalMinionsKilled | The number of enemy minions killed. |
| damageTakenPerMinDeltas.0.10 | The amount of damage taken per minute from 0:00 to 10:00 minutes. |
| creepsPerMinDeltas.0.10 | The number of enemy minions killed per minute from 0:00 to 10:00 minutes. |
k=5.k=1.Note: features are scaled using z-score.
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 18 | 0 | 0 | 0 | 0 |
| JUNGLE | 0 | 22 | 0 | 0 | 0 |
| MID | 0 | 0 | 20 | 0 | 0 |
| SUPPORT | 0 | 0 | 0 | 17 | 0 |
| TOP | 0 | 0 | 0 | 0 | 19 |
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 27 | 0 | 0 | 0 | 0 |
| JUNGLE | 0 | 31 | 0 | 0 | 0 |
| MID | 0 | 0 | 28 | 0 | 0 |
| SUPPORT | 0 | 0 | 0 | 24 | 0 |
| TOP | 0 | 0 | 0 | 0 | 27 |
knn_pred_test_single_games <- get.knnx(train_fit.km$centers,
all_leagues_match_player_stats_scaled,
k=1)$nn.index[, 1]| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 1321 | 1 | 10 | 0 | 68 |
| JUNGLE | 0 | 1378 | 1 | 14 | 4 |
| MID | 19 | 1 | 1321 | 0 | 120 |
| SUPPORT | 0 | 7 | 1 | 1376 | 0 |
| TOP | 52 | 5 | 59 | 2 | 1200 |
## Confusion Matrix and Statistics
##
##
## knn_pred_test_single_games BOTCARRY JUNGLE MID SUPPORT TOP
## BOTCARRY 1321 1 10 0 68
## JUNGLE 0 1378 1 14 4
## MID 19 1 1321 0 120
## SUPPORT 0 7 1 1376 0
## TOP 52 5 59 2 1200
##
## Overall Statistics
##
## Accuracy : 0.9477
## 95% CI : (0.9422, 0.9528)
## No Information Rate : 0.2
## P-Value [Acc > NIR] : < 2.2e-16
##
## Kappa : 0.9346
## Mcnemar's Test P-Value : NA
##
## Statistics by Class:
##
## Class: BOTCARRY Class: JUNGLE Class: MID
## Sensitivity 0.9490 0.9899 0.9490
## Specificity 0.9858 0.9966 0.9749
## Pos Pred Value 0.9436 0.9864 0.9042
## Neg Pred Value 0.9872 0.9975 0.9871
## Prevalence 0.2000 0.2000 0.2000
## Detection Rate 0.1898 0.1980 0.1898
## Detection Prevalence 0.2011 0.2007 0.2099
## Balanced Accuracy 0.9674 0.9933 0.9619
## Class: SUPPORT Class: TOP
## Sensitivity 0.9885 0.8621
## Specificity 0.9986 0.9788
## Pos Pred Value 0.9942 0.9105
## Neg Pred Value 0.9971 0.9660
## Prevalence 0.2000 0.2000
## Detection Rate 0.1977 0.1724
## Detection Prevalence 0.1989 0.1894
## Balanced Accuracy 0.9935 0.9204
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| DUO, BOTTOM | 538 | 0 | 395 | 538 | 0 |
| DUO, MIDDLE | 0 | 347 | 0 | 0 | 347 |
| DUO, TOP | 0 | 3 | 0 | 0 | 3 |
| DUO_CARRY, BOTTOM | 533 | 0 | 0 | 0 | 0 |
| DUO_CARRY, MIDDLE | 0 | 0 | 12 | 0 | 0 |
| DUO_SUPPORT, BOTTOM | 0 | 0 | 0 | 533 | 0 |
| DUO_SUPPORT, MIDDLE | 0 | 12 | 0 | 0 | 0 |
| NONE, JUNGLE | 91 | 985 | 402 | 66 | 397 |
| SOLO, BOTTOM | 15 | 0 | 0 | 255 | 0 |
| SOLO, MIDDLE | 0 | 23 | 583 | 0 | 22 |
| SOLO, TOP | 215 | 22 | 0 | 0 | 623 |
timeline API using match IDs)